package week02;

import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.io.IntWritable;
import org.apache.hadoop.mapreduce.Job;

import javax.xml.soap.Text;

/**
 *
 * https://github.com/demoapi/java_mapreduce/tree/master/java_mapreduce/src/main/java/com/highill/practice/mapreduce/wordcount
 *
 *
 */
public class Week02Main {

    public static void main(String[] args) {

        try {
            Configuration configuration = new Configuration();
            Job job = Job.getInstance(configuration, "Week02");
            job.setJarByClass(Week02Main.class);

            job.setOutputKeyClass(Text.class);
            job.setOutputValueClass(IntWritable.class);

        } catch(Exception e) {
            e.printStackTrace();
        }


    }
}
